From 5bced753eb829efb10b455a06e1a166fbf16ef30 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20B?= Date: Thu, 7 Jan 2016 03:38:10 +0100 Subject: [PATCH] Add missing trailing new line in warning messages --- jeeps/gpsusbwin.cc | 4 ++-- nmea.cc | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jeeps/gpsusbwin.cc b/jeeps/gpsusbwin.cc index 2567a87e1..67f4e100b 100644 --- a/jeeps/gpsusbwin.cc +++ b/jeeps/gpsusbwin.cc @@ -241,7 +241,7 @@ gusb_init(const char* pname, gpsdevh** dh) if (hdevinfo == INVALID_HANDLE_VALUE) { GPS_Serial_Error("SetupDiGetClassDevs failed"); - warning("Is the Garmin USB driver installed?"); + warning("Is the Garmin USB driver installed?\n"); return 0; } @@ -284,7 +284,7 @@ gusb_init(const char* pname, gpsdevh** dh) } else { GPS_Serial_Error("SetupDiEnumDeviceInterfaces"); - warning("Is the Garmin USB unit number %d powered up and connected?", un); + warning("Is the Garmin USB unit number %d powered up and connected?\n", un); return 0; } } diff --git a/nmea.cc b/nmea.cc index db90da778..9b6e09351 100644 --- a/nmea.cc +++ b/nmea.cc @@ -34,7 +34,7 @@ #include #include - + /********************************************************** ' 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 @@ -692,7 +692,7 @@ gpgsa_parse(char* ibuf) &prn[0],&prn[1],&prn[2],&prn[3],&prn[4],&prn[5], &prn[6],&prn[7],&prn[8],&prn[9],&prn[10],&prn[11]); if (scn < 4) { - warning(MYNAME ": Short GSA sentence."); + warning(MYNAME ": Short GSA sentence.\n"); } /* sscanf has scanned all the leftmost elements @@ -1249,7 +1249,7 @@ nmea_wayptpr(const Waypoint* wpt) gbfflush(file_out); gb_sleep(sleepus); } -} +} void nmea_track_init(const route_head*) { -- 2.30.2